/*
 * =====================================================================================
 *
 *       Filename:  DecoratorB.cc
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  01/12/2022 09:07:22 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Buthor:  first_name last_name (fl), fl@my-company.com
 *        Company:  my-company
 *
 * =====================================================================================
 */
#include "DecoratorB.h"
#include <iostream>

using std::cout;
using std::endl;
using std::string;

DecoratorB::DecoratorB(IComponent* component): IDecorator(component) {
}

DecoratorB::~DecoratorB() {
}

void DecoratorB::BddBehavior() {
    cout << "DecoratorB::BddBehavior" << endl;
}

void DecoratorB::operation() {
    IDecorator::operation();
    BddBehavior();
}
